home *** CD-ROM | disk | FTP | other *** search
/ C++ für Kids / C++ for kids.iso / TASM_TD / INSTALL.BAT next >
DOS Batch File  |  1997-02-12  |  855b  |  38 lines

  1. @echo off
  2. if /%1==/ goto usage
  3. if /%2==/ goto usage
  4.  
  5. copy patch.exe %1\%2\bin
  6. copy td32.rtp %1\%2\bin
  7. copy tasm32.rtp %1\%2\bin
  8. %1
  9. cd %2\bin
  10. if not exist td32.exe goto tryTasm32
  11. patch td32.rtp
  12. :tryTasm32
  13. if not exist tasm32.exe goto end
  14. patch tasm32.rtp
  15. goto cleanup
  16.  
  17. :usage
  18. echo .
  19. echo . usage: install c: \bc5
  20. echo .
  21. echo . This will patch your TD32.EXE and TASM32.EXE to support
  22. echo . Borland C++Builder applications.  The first parameter to the
  23. echo . install.bat file should be the drive letter to which you
  24. echo . installed your Borland C++ 5.0 software.  The second parameter
  25. echo . should be the root directory for the installation.  The
  26. echo . patch file assumes that your tools are installed in the bin
  27. echo . directory below this.
  28. echo .
  29. goto end
  30.  
  31. :cleanup
  32. del patch.exe
  33. del td32.rtp
  34. del tasm32.rtp
  35.  
  36. :end
  37.  
  38.